<?php
namespace app\common\model;

use think\Model;
use think\model\concern\SoftDelete;

class Code extends Model
{
    use SoftDelete;
    protected $autoWriteTimestamp = true;


    public function cate()
    {
        return $this->hasOne(ArticleCate::class,"id","cate_id");
    }

}
